@font-face {
    font-family: CircularSpotifyTxTBook;
    font-weight: 700;
    src: url(./asset/font/CircularSpotifyTxT-Book.woff2) format("truetype");
    text-rendering: optimizeLegibility;
}
@font-face {
    font-family: CircularSpotifyTxTBold;
    font-weight: 700;
    src: url(./asset/font/CircularSpotifyTxT-Bold.woff2) format("truetype");
    text-rendering: optimizeLegibility;
}
@font-face {
    font-family: PlastoTrial_ExtraBold;
    font-weight: 700;
    src: url(./asset/font/PlastoTrial-ExtraBold.otf) format("truetype");
    text-rendering: optimizeLegibility;
}
* {
    padding: 0;
    margin: 0;
}
body {
    overflow: hidden;
    transition: 1s;
}
.logo {
    position: fixed;
    font-family: PlastoTrial_ExtraBold;
    font-size: 50px;
    margin: 1% 2%;
}
.wrapper {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3.75rem;
    box-sizing: border-box;
    .controls-btn {
        display: flex;
        flex-direction: column-reverse;
        svg {
            margin: 40% 0;
            cursor: pointer;
        }
        .last-wrapper {
           svg {
            fill: rgba(255,255,255,0.6);
           }
        }
    }
}
.card-slide {
    width: calc(20rem + 30vmin);
    height: calc(20rem + 30vmin);
    // position: absolute;
    right: 10%;
    transform: translateX(-10%);
    .card-stack-wrapper {
        width: calc(20rem + 30vmin);
        height: calc(20rem + 30vmin);
        position: absolute;
        left: 0;
        top: 0;
        cursor: grab;
        transform-origin: center center;
        background-color: aqua;
        background-size: cover;
        background-repeat: no-repeat; /* 不平铺图像 */
        &:last-child {
            transform: rotateX(0) rotateY(0) rotateZ(0) scale(1) !important;
        }
        .card-stack-inner {
            width: 100%;
            height: 100%;
            img {
                width: 100%;
                height: 100%;
            }
        }
        &:last-child {
            // transform: translate3d(1402.8px, 0px, 0px);
            background-color: #000;
            transform: rotateX(0) rotateY(0) rotateZ(0) scale(1);
            .card-stack-inner {
                box-shadow: rgba(0, 0, 0, 0) 2px 5px 27px;
            }
        }
    }
}
.describe {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 5%;
    .tips {
        font-size: 1rem;
        font-family: CircularSpotifyTxTBold;
        margin-bottom: 10px;
    }
    .contnet-text {
        font-size: 3rem;
        font-family: CircularSpotifyTxTBold;
        cursor: pointer;
        &:hover {
            text-decoration: underline;
        }
    }
}

.card-stack-wrapper-animating-DMD {
    animation: dragMouseDown 0.2s ease-in-out forwards;
}

@keyframes dragMouseDown {
    0% {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.card-stack-wrapper-animating-DMU {
    animation: dragMouseUp 0.2s ease-in-out forwards;
}

@keyframes dragMouseUp {
    0% {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.describe-disappear-animation {
    animation: opacityDisappear 0.5s ease-in-out forwards;
}
@keyframes opacityDisappear {
    0% {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.describe-appear-animation {
    animation: opacityAppear 0.5s ease-in-out forwards;
}
@keyframes opacityAppear {
    0% {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@media screen and (max-width: 1024px) {
    .wrapper {
        flex-direction: column;
        .controls-btn {
            position: absolute;
            left: 10%;
            top: 50%;
            transform: translate(-10%,-50%);
        }
        .card-slide {
            width: calc(20rem + 10vw);
            height: calc(20rem + 10vw);
            transform: translateX(0%);
            .card-stack-wrapper {
                width: calc(20rem + 10vw);
                height: calc(20rem + 10vw);
            }
        }
        .describe {
            margin-bottom: 10%;
            .contnet-text {
                font-size: 2rem;
            }
        }
    }
}
